﻿<TestCase testName="Test_02_FILECopyWithBinaryValidation">

	<TestSetup>
	</TestSetup>
	
	<TestExecution>
		<TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep">
			<SourcePath>..\..\..\TestData\InDoc1.xml</SourcePath>
			<CreationPath>..\..\..\Rec_03\InDoc1.xml</CreationPath>
		</TestStep>
		
		<TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileValidateStep">
			<Timeout>3000</Timeout>
			<Directory>..\..\..\Rec_03\</Directory>
			<SearchPattern>InDoc1.xml</SearchPattern>
			<DeleteFile>true</DeleteFile>
			
			<ValidationStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.BinaryValidationStep">
				<ComparisonDataPath>..\..\..\TestData\ResultDoc1.xml</ComparisonDataPath>
				<CompareAsUTF8>true</CompareAsUTF8>
			</ValidationStep>
			
		</TestStep>
	</TestExecution>

	<!-- Test cleanup: test cases should always leave the system in the state they found it -->
	<TestCleanup>
		<TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteStep">
			<FileToDeletePath>..\..\..\Rec_03\InDoc1.xml</FileToDeletePath>
		</TestStep>
	</TestCleanup>	
	
</TestCase>

